package _error

import (
	"errors"
)

var (
	// ErrRecordNotFound record not found error, happens when only haven't find any matched data when looking up with a struct, finding a slice won't return this error
	ErrAccountEnable = errors.New("禁用账户")
	ErrAccountPassword = errors.New("账户不存在或密码错误")
	ErrAccount = errors.New("创建账户失败")
	ErrAccountExist = errors.New("创建账户失败,账户已存在")
	ErrAccountNull = errors.New("账户名不能为空")
	ErrAccountNotFound = errors.New("未查询到数据")
	ErrAccountPassNull = errors.New("账户密码不能为空")
	ErrAccountDelete = errors.New("账户删除错误")
	ErrAccountOnlyYou = errors.New("只能查询自己信息")


	ErrAccountNotExist = errors.New("账户不存在")
	ErrOauthNeedLogin = errors.New("授权失败,请重新登陆")


	ErrUpdated = errors.New("更新失败")

)

var ErrorText = map[int]string{

}
